package com.nanjing.demo.feignfallback;

import com.nanjing.demo.feignservice.GroupFeignService;
import com.nanjing.demo.model.common.AjaxResult;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @author wubeibei
 * @date 2019/11/3
 */
@Component
public class GroupFeignFallBack implements GroupFeignService {

    @Override
    public AjaxResult<List<String>> getGroupByExam(String caseTakeId) {
        AjaxResult<List<String>> ajaxResult = new AjaxResult<>();
        ajaxResult.setCode(500);
        ajaxResult.setData(null);
        ajaxResult.setInfo("获取group失败");
        return ajaxResult;
    }
}
